.class Les/hx;
.super Lcom/estrongs/fs/a;
.source "TaskGridViewWrapper.java"


# instance fields
.field private p:Les/s80;


# direct methods
.method public constructor <init>(Les/s80;)V
    .locals 1

    .line 1
    invoke-direct {p0}, Lcom/estrongs/fs/a;-><init>()V

    const/4 v0, 0x0

    .line 2
    iput-object v0, p0, Les/hx;->p:Les/s80;

    .line 3
    iput-object p1, p0, Les/hx;->p:Les/s80;

    const-string v0, "task"

    .line 4
    invoke-virtual {p0, v0, p1}, Lcom/estrongs/fs/a;->a(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;

    return-void
.end method


# virtual methods
.method public d()Ljava/lang/String;
    .locals 1

    .line 1
    invoke-virtual {p0}, Les/hx;->getPath()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getName()Ljava/lang/String;
    .locals 2

    .line 1
    iget-object v0, p0, Les/hx;->p:Les/s80;

    invoke-virtual {v0}, Les/s80;->w()Lorg/json/JSONObject;

    move-result-object v0

    const-string v1, "title"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-nez v0, :cond_0

    const-string v0, ""

    :cond_0
    return-object v0
.end method

.method public getPath()Ljava/lang/String;
    .locals 2

    .line 1
    iget-object v0, p0, Les/hx;->p:Les/s80;

    instance-of v1, v0, Les/d70;

    if-eqz v1, :cond_0

    .line 2
    check-cast v0, Les/d70;

    invoke-virtual {v0}, Les/d70;->C()Ljava/lang/String;

    move-result-object v0

    .line 3
    invoke-static {v0}, Lcom/estrongs/android/util/o0;->b(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_0

    return-object v0

    .line 4
    :cond_0
    iget-object v0, p0, Les/hx;->p:Les/s80;

    invoke-virtual {v0}, Les/s80;->w()Lorg/json/JSONObject;

    move-result-object v0

    const-string v1, "target"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 5
    invoke-static {v0}, Lcom/estrongs/android/util/o0;->a(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_1

    const-string v0, ""

    :cond_1
    return-object v0
.end method
